/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.venta.vista;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

/**
 *
 * @author Claudio
 */
@Entity
@Table(name = "VT_HISTORICO", catalog = "TEM", schema = "dbo")
public class ItemHistoricoCuentaCorriente implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "ID", nullable = false, length = 80)
    private String id;
    @Basic(optional = false)
    @Column(name = "VTRMVH_NROCTA", nullable = false, length = 13)
    private String nrocta;
    @Column(name = "VTRMVH_SUCURS", length = 6)
    private String sucurs;
    @Basic(optional = false)
    @Column(name = "VTRMVH_FCHMOV", nullable = false)
    @Temporal(TemporalType.DATE)
    private Date fchmov;
    @Basic(optional = false)
    @Column(name = "VTRMVH_MODFOR", nullable = false, length = 2)
    private String modfor;
    @Basic(optional = false)
    @Column(name = "VTRMVC_CUOTAS", nullable = false)
    private short cuotas;
    @Basic(optional = false)
    @Column(name = "VTRMVH_CODFOR", nullable = false, length = 6)
    private String codfor;
    @Basic(optional = false)
    @Column(name = "VTRMVH_NROFOR", nullable = false)
    private int nrofor;
    @Column(name = "DEBE", precision = 38, scale = 2)
    private BigDecimal debe;
    @Column(name = "HABER", precision = 38, scale = 2)
    private BigDecimal haber;
    @Column(name = "COMPROBANTE", length = 60)
    private String comprobante;

    @Transient
    private BigDecimal saldo;



    public ItemHistoricoCuentaCorriente() {
    }

    public ItemHistoricoCuentaCorriente(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCodfor() {
        return codfor;
    }

    public void setCodfor(String codfor) {
        this.codfor = codfor;
    }

    public short getCuotas() {
        return cuotas;
    }

    public void setCuotas(short cuotas) {
        this.cuotas = cuotas;
    }

    public Date getFchmov() {
        return fchmov;
    }

    public void setFchmov(Date fchmov) {
        this.fchmov = fchmov;
    }

    public String getModfor() {
        return modfor;
    }

    public void setModfor(String modfor) {
        this.modfor = modfor;
    }

    public String getNrocta() {
        return nrocta;
    }

    public void setNrocta(String nrocta) {
        this.nrocta = nrocta;
    }

    public int getNrofor() {
        return nrofor;
    }

    public void setNrofor(int nrofor) {
        this.nrofor = nrofor;
    }

    public String getSucurs() {
        return sucurs;
    }

    public void setSucurs(String sucurs) {
        this.sucurs = sucurs;
    }
    
    public BigDecimal getDebe() {
        return debe;
    }

    public void setDebe(BigDecimal debe) {
        this.debe = debe;
    }

    public BigDecimal getHaber() {
        return haber;
    }

    public void setHaber(BigDecimal haber) {
        this.haber = haber;
    }

    public String getComprobante() {
        return comprobante;
    }

    public void setComprobante(String comprobante) {
        this.comprobante = comprobante;
    }

    public BigDecimal getSaldo() {
        return saldo;
    }

    public void setSaldo(BigDecimal saldo) {
        this.saldo = saldo;
    }
    
}
